package com.hitqz.robot.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hitqz.robot.api.common.entity.MapArea;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author xupkun
 * @date 2024/6/3
 */
@Mapper
public interface MapAreaMapper extends BaseMapper<MapArea> {

    /**
     * 根据区域查询动作
     * @param action
     * @return
     */
    List<MapArea> findMapAreaByAction(@Param(value = "action") String action);

}
